/**
 * output package name
 */
package com.kingdee.eas.xbang.preparehandle;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class HandleState extends StringEnum
{
    public static final String NOHANDLE_VALUE = "0";
    public static final String SUCCESS_VALUE = "10";
    public static final String FAIL_VALUE = "50";
    public static final String HANDLING_VALUE = "80";

    public static final HandleState nohandle = new HandleState("nohandle", NOHANDLE_VALUE);
    public static final HandleState success = new HandleState("success", SUCCESS_VALUE);
    public static final HandleState fail = new HandleState("fail", FAIL_VALUE);
    public static final HandleState handling = new HandleState("handling", HANDLING_VALUE);

    /**
     * construct function
     * @param String handleState
     */
    private HandleState(String name, String handleState)
    {
        super(name, handleState);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static HandleState getEnum(String handleState)
    {
        return (HandleState)getEnum(HandleState.class, handleState);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(HandleState.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(HandleState.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(HandleState.class);
    }
}